package com.suyuan.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProInspectInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProInspectInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGidIsNull() {
            addCriterion("GID is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("GID is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(Integer value) {
            addCriterion("GID =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(Integer value) {
            addCriterion("GID <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(Integer value) {
            addCriterion("GID >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("GID >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(Integer value) {
            addCriterion("GID <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(Integer value) {
            addCriterion("GID <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<Integer> values) {
            addCriterion("GID in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<Integer> values) {
            addCriterion("GID not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(Integer value1, Integer value2) {
            addCriterion("GID between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(Integer value1, Integer value2) {
            addCriterion("GID not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andCompidIsNull() {
            addCriterion("CompID is null");
            return (Criteria) this;
        }

        public Criteria andCompidIsNotNull() {
            addCriterion("CompID is not null");
            return (Criteria) this;
        }

        public Criteria andCompidEqualTo(Integer value) {
            addCriterion("CompID =", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotEqualTo(Integer value) {
            addCriterion("CompID <>", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidGreaterThan(Integer value) {
            addCriterion("CompID >", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidGreaterThanOrEqualTo(Integer value) {
            addCriterion("CompID >=", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidLessThan(Integer value) {
            addCriterion("CompID <", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidLessThanOrEqualTo(Integer value) {
            addCriterion("CompID <=", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidIn(List<Integer> values) {
            addCriterion("CompID in", values, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotIn(List<Integer> values) {
            addCriterion("CompID not in", values, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidBetween(Integer value1, Integer value2) {
            addCriterion("CompID between", value1, value2, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotBetween(Integer value1, Integer value2) {
            addCriterion("CompID not between", value1, value2, "compid");
            return (Criteria) this;
        }

        public Criteria andPurcidIsNull() {
            addCriterion("PurcID is null");
            return (Criteria) this;
        }

        public Criteria andPurcidIsNotNull() {
            addCriterion("PurcID is not null");
            return (Criteria) this;
        }

        public Criteria andPurcidEqualTo(Integer value) {
            addCriterion("PurcID =", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidNotEqualTo(Integer value) {
            addCriterion("PurcID <>", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidGreaterThan(Integer value) {
            addCriterion("PurcID >", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidGreaterThanOrEqualTo(Integer value) {
            addCriterion("PurcID >=", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidLessThan(Integer value) {
            addCriterion("PurcID <", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidLessThanOrEqualTo(Integer value) {
            addCriterion("PurcID <=", value, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidIn(List<Integer> values) {
            addCriterion("PurcID in", values, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidNotIn(List<Integer> values) {
            addCriterion("PurcID not in", values, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidBetween(Integer value1, Integer value2) {
            addCriterion("PurcID between", value1, value2, "purcid");
            return (Criteria) this;
        }

        public Criteria andPurcidNotBetween(Integer value1, Integer value2) {
            addCriterion("PurcID not between", value1, value2, "purcid");
            return (Criteria) this;
        }

        public Criteria andProductidIsNull() {
            addCriterion("ProductID is null");
            return (Criteria) this;
        }

        public Criteria andProductidIsNotNull() {
            addCriterion("ProductID is not null");
            return (Criteria) this;
        }

        public Criteria andProductidEqualTo(Integer value) {
            addCriterion("ProductID =", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidNotEqualTo(Integer value) {
            addCriterion("ProductID <>", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidGreaterThan(Integer value) {
            addCriterion("ProductID >", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ProductID >=", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidLessThan(Integer value) {
            addCriterion("ProductID <", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidLessThanOrEqualTo(Integer value) {
            addCriterion("ProductID <=", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidIn(List<Integer> values) {
            addCriterion("ProductID in", values, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidNotIn(List<Integer> values) {
            addCriterion("ProductID not in", values, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidBetween(Integer value1, Integer value2) {
            addCriterion("ProductID between", value1, value2, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidNotBetween(Integer value1, Integer value2) {
            addCriterion("ProductID not between", value1, value2, "productid");
            return (Criteria) this;
        }

        public Criteria andInspecttimeIsNull() {
            addCriterion("InspectTime is null");
            return (Criteria) this;
        }

        public Criteria andInspecttimeIsNotNull() {
            addCriterion("InspectTime is not null");
            return (Criteria) this;
        }

        public Criteria andInspecttimeEqualTo(Date value) {
            addCriterion("InspectTime =", value, "inspecttime");
            return (Criteria) this;
        }

        public Criteria andInspecttimeNotEqualTo(Date value) {
            addCriterion("InspectTime <>", value, "inspecttime");
            return (Criteria) this;
        }

        public Criteria andInspecttimeGreaterThan(Date value) {
            addCriterion("InspectTime >", value, "inspecttime");
            return (Criteria) this;
        }

        public Criteria andInspecttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("InspectTime >=", value, "inspecttime");
            return (Criteria) this;
        }

        public Criteria andInspecttimeLessThan(Date value) {
            addCriterion("InspectTime <", value, "inspecttime");
            return (Criteria) this;
        }

        public Criteria andInspecttimeLessThanOrEqualTo(Date value) {
            addCriterion("InspectTime <=", value, "inspecttime");
            return (Criteria) this;
        }

        public Criteria andInspecttimeIn(List<Date> values) {
            addCriterion("InspectTime in", values, "inspecttime");
            return (Criteria) this;
        }

        public Criteria andInspecttimeNotIn(List<Date> values) {
            addCriterion("InspectTime not in", values, "inspecttime");
            return (Criteria) this;
        }

        public Criteria andInspecttimeBetween(Date value1, Date value2) {
            addCriterion("InspectTime between", value1, value2, "inspecttime");
            return (Criteria) this;
        }

        public Criteria andInspecttimeNotBetween(Date value1, Date value2) {
            addCriterion("InspectTime not between", value1, value2, "inspecttime");
            return (Criteria) this;
        }

        public Criteria andInspectypeIsNull() {
            addCriterion("Inspectype is null");
            return (Criteria) this;
        }

        public Criteria andInspectypeIsNotNull() {
            addCriterion("Inspectype is not null");
            return (Criteria) this;
        }

        public Criteria andInspectypeEqualTo(Integer value) {
            addCriterion("Inspectype =", value, "inspectype");
            return (Criteria) this;
        }

        public Criteria andInspectypeNotEqualTo(Integer value) {
            addCriterion("Inspectype <>", value, "inspectype");
            return (Criteria) this;
        }

        public Criteria andInspectypeGreaterThan(Integer value) {
            addCriterion("Inspectype >", value, "inspectype");
            return (Criteria) this;
        }

        public Criteria andInspectypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("Inspectype >=", value, "inspectype");
            return (Criteria) this;
        }

        public Criteria andInspectypeLessThan(Integer value) {
            addCriterion("Inspectype <", value, "inspectype");
            return (Criteria) this;
        }

        public Criteria andInspectypeLessThanOrEqualTo(Integer value) {
            addCriterion("Inspectype <=", value, "inspectype");
            return (Criteria) this;
        }

        public Criteria andInspectypeIn(List<Integer> values) {
            addCriterion("Inspectype in", values, "inspectype");
            return (Criteria) this;
        }

        public Criteria andInspectypeNotIn(List<Integer> values) {
            addCriterion("Inspectype not in", values, "inspectype");
            return (Criteria) this;
        }

        public Criteria andInspectypeBetween(Integer value1, Integer value2) {
            addCriterion("Inspectype between", value1, value2, "inspectype");
            return (Criteria) this;
        }

        public Criteria andInspectypeNotBetween(Integer value1, Integer value2) {
            addCriterion("Inspectype not between", value1, value2, "inspectype");
            return (Criteria) this;
        }

        public Criteria andInspectpositionIsNull() {
            addCriterion("InspectPosition is null");
            return (Criteria) this;
        }

        public Criteria andInspectpositionIsNotNull() {
            addCriterion("InspectPosition is not null");
            return (Criteria) this;
        }

        public Criteria andInspectpositionEqualTo(String value) {
            addCriterion("InspectPosition =", value, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionNotEqualTo(String value) {
            addCriterion("InspectPosition <>", value, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionGreaterThan(String value) {
            addCriterion("InspectPosition >", value, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionGreaterThanOrEqualTo(String value) {
            addCriterion("InspectPosition >=", value, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionLessThan(String value) {
            addCriterion("InspectPosition <", value, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionLessThanOrEqualTo(String value) {
            addCriterion("InspectPosition <=", value, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionLike(String value) {
            addCriterion("InspectPosition like", value, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionNotLike(String value) {
            addCriterion("InspectPosition not like", value, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionIn(List<String> values) {
            addCriterion("InspectPosition in", values, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionNotIn(List<String> values) {
            addCriterion("InspectPosition not in", values, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionBetween(String value1, String value2) {
            addCriterion("InspectPosition between", value1, value2, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andInspectpositionNotBetween(String value1, String value2) {
            addCriterion("InspectPosition not between", value1, value2, "inspectposition");
            return (Criteria) this;
        }

        public Criteria andResulttypeIsNull() {
            addCriterion("ResultType is null");
            return (Criteria) this;
        }

        public Criteria andResulttypeIsNotNull() {
            addCriterion("ResultType is not null");
            return (Criteria) this;
        }

        public Criteria andResulttypeEqualTo(String value) {
            addCriterion("ResultType =", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeNotEqualTo(String value) {
            addCriterion("ResultType <>", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeGreaterThan(String value) {
            addCriterion("ResultType >", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeGreaterThanOrEqualTo(String value) {
            addCriterion("ResultType >=", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeLessThan(String value) {
            addCriterion("ResultType <", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeLessThanOrEqualTo(String value) {
            addCriterion("ResultType <=", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeLike(String value) {
            addCriterion("ResultType like", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeNotLike(String value) {
            addCriterion("ResultType not like", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeIn(List<String> values) {
            addCriterion("ResultType in", values, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeNotIn(List<String> values) {
            addCriterion("ResultType not in", values, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeBetween(String value1, String value2) {
            addCriterion("ResultType between", value1, value2, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeNotBetween(String value1, String value2) {
            addCriterion("ResultType not between", value1, value2, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResultnotesIsNull() {
            addCriterion("ResultNotes is null");
            return (Criteria) this;
        }

        public Criteria andResultnotesIsNotNull() {
            addCriterion("ResultNotes is not null");
            return (Criteria) this;
        }

        public Criteria andResultnotesEqualTo(String value) {
            addCriterion("ResultNotes =", value, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesNotEqualTo(String value) {
            addCriterion("ResultNotes <>", value, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesGreaterThan(String value) {
            addCriterion("ResultNotes >", value, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesGreaterThanOrEqualTo(String value) {
            addCriterion("ResultNotes >=", value, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesLessThan(String value) {
            addCriterion("ResultNotes <", value, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesLessThanOrEqualTo(String value) {
            addCriterion("ResultNotes <=", value, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesLike(String value) {
            addCriterion("ResultNotes like", value, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesNotLike(String value) {
            addCriterion("ResultNotes not like", value, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesIn(List<String> values) {
            addCriterion("ResultNotes in", values, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesNotIn(List<String> values) {
            addCriterion("ResultNotes not in", values, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesBetween(String value1, String value2) {
            addCriterion("ResultNotes between", value1, value2, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andResultnotesNotBetween(String value1, String value2) {
            addCriterion("ResultNotes not between", value1, value2, "resultnotes");
            return (Criteria) this;
        }

        public Criteria andInspectoridIsNull() {
            addCriterion("InspectorID is null");
            return (Criteria) this;
        }

        public Criteria andInspectoridIsNotNull() {
            addCriterion("InspectorID is not null");
            return (Criteria) this;
        }

        public Criteria andInspectoridEqualTo(Integer value) {
            addCriterion("InspectorID =", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridNotEqualTo(Integer value) {
            addCriterion("InspectorID <>", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridGreaterThan(Integer value) {
            addCriterion("InspectorID >", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridGreaterThanOrEqualTo(Integer value) {
            addCriterion("InspectorID >=", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridLessThan(Integer value) {
            addCriterion("InspectorID <", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridLessThanOrEqualTo(Integer value) {
            addCriterion("InspectorID <=", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridIn(List<Integer> values) {
            addCriterion("InspectorID in", values, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridNotIn(List<Integer> values) {
            addCriterion("InspectorID not in", values, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridBetween(Integer value1, Integer value2) {
            addCriterion("InspectorID between", value1, value2, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridNotBetween(Integer value1, Integer value2) {
            addCriterion("InspectorID not between", value1, value2, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectornameIsNull() {
            addCriterion("InspectorName is null");
            return (Criteria) this;
        }

        public Criteria andInspectornameIsNotNull() {
            addCriterion("InspectorName is not null");
            return (Criteria) this;
        }

        public Criteria andInspectornameEqualTo(String value) {
            addCriterion("InspectorName =", value, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameNotEqualTo(String value) {
            addCriterion("InspectorName <>", value, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameGreaterThan(String value) {
            addCriterion("InspectorName >", value, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameGreaterThanOrEqualTo(String value) {
            addCriterion("InspectorName >=", value, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameLessThan(String value) {
            addCriterion("InspectorName <", value, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameLessThanOrEqualTo(String value) {
            addCriterion("InspectorName <=", value, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameLike(String value) {
            addCriterion("InspectorName like", value, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameNotLike(String value) {
            addCriterion("InspectorName not like", value, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameIn(List<String> values) {
            addCriterion("InspectorName in", values, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameNotIn(List<String> values) {
            addCriterion("InspectorName not in", values, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameBetween(String value1, String value2) {
            addCriterion("InspectorName between", value1, value2, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andInspectornameNotBetween(String value1, String value2) {
            addCriterion("InspectorName not between", value1, value2, "inspectorname");
            return (Criteria) this;
        }

        public Criteria andProclineidIsNull() {
            addCriterion("ProcLineID is null");
            return (Criteria) this;
        }

        public Criteria andProclineidIsNotNull() {
            addCriterion("ProcLineID is not null");
            return (Criteria) this;
        }

        public Criteria andProclineidEqualTo(Integer value) {
            addCriterion("ProcLineID =", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidNotEqualTo(Integer value) {
            addCriterion("ProcLineID <>", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidGreaterThan(Integer value) {
            addCriterion("ProcLineID >", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ProcLineID >=", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidLessThan(Integer value) {
            addCriterion("ProcLineID <", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidLessThanOrEqualTo(Integer value) {
            addCriterion("ProcLineID <=", value, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidIn(List<Integer> values) {
            addCriterion("ProcLineID in", values, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidNotIn(List<Integer> values) {
            addCriterion("ProcLineID not in", values, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidBetween(Integer value1, Integer value2) {
            addCriterion("ProcLineID between", value1, value2, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclineidNotBetween(Integer value1, Integer value2) {
            addCriterion("ProcLineID not between", value1, value2, "proclineid");
            return (Criteria) this;
        }

        public Criteria andProclinenameIsNull() {
            addCriterion("ProcLineName is null");
            return (Criteria) this;
        }

        public Criteria andProclinenameIsNotNull() {
            addCriterion("ProcLineName is not null");
            return (Criteria) this;
        }

        public Criteria andProclinenameEqualTo(String value) {
            addCriterion("ProcLineName =", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameNotEqualTo(String value) {
            addCriterion("ProcLineName <>", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameGreaterThan(String value) {
            addCriterion("ProcLineName >", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameGreaterThanOrEqualTo(String value) {
            addCriterion("ProcLineName >=", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameLessThan(String value) {
            addCriterion("ProcLineName <", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameLessThanOrEqualTo(String value) {
            addCriterion("ProcLineName <=", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameLike(String value) {
            addCriterion("ProcLineName like", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameNotLike(String value) {
            addCriterion("ProcLineName not like", value, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameIn(List<String> values) {
            addCriterion("ProcLineName in", values, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameNotIn(List<String> values) {
            addCriterion("ProcLineName not in", values, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameBetween(String value1, String value2) {
            addCriterion("ProcLineName between", value1, value2, "proclinename");
            return (Criteria) this;
        }

        public Criteria andProclinenameNotBetween(String value1, String value2) {
            addCriterion("ProcLineName not between", value1, value2, "proclinename");
            return (Criteria) this;
        }

        public Criteria andSegmentidIsNull() {
            addCriterion("SegmentID is null");
            return (Criteria) this;
        }

        public Criteria andSegmentidIsNotNull() {
            addCriterion("SegmentID is not null");
            return (Criteria) this;
        }

        public Criteria andSegmentidEqualTo(Integer value) {
            addCriterion("SegmentID =", value, "segmentid");
            return (Criteria) this;
        }

        public Criteria andSegmentidNotEqualTo(Integer value) {
            addCriterion("SegmentID <>", value, "segmentid");
            return (Criteria) this;
        }

        public Criteria andSegmentidGreaterThan(Integer value) {
            addCriterion("SegmentID >", value, "segmentid");
            return (Criteria) this;
        }

        public Criteria andSegmentidGreaterThanOrEqualTo(Integer value) {
            addCriterion("SegmentID >=", value, "segmentid");
            return (Criteria) this;
        }

        public Criteria andSegmentidLessThan(Integer value) {
            addCriterion("SegmentID <", value, "segmentid");
            return (Criteria) this;
        }

        public Criteria andSegmentidLessThanOrEqualTo(Integer value) {
            addCriterion("SegmentID <=", value, "segmentid");
            return (Criteria) this;
        }

        public Criteria andSegmentidIn(List<Integer> values) {
            addCriterion("SegmentID in", values, "segmentid");
            return (Criteria) this;
        }

        public Criteria andSegmentidNotIn(List<Integer> values) {
            addCriterion("SegmentID not in", values, "segmentid");
            return (Criteria) this;
        }

        public Criteria andSegmentidBetween(Integer value1, Integer value2) {
            addCriterion("SegmentID between", value1, value2, "segmentid");
            return (Criteria) this;
        }

        public Criteria andSegmentidNotBetween(Integer value1, Integer value2) {
            addCriterion("SegmentID not between", value1, value2, "segmentid");
            return (Criteria) this;
        }

        public Criteria andSegmentnameIsNull() {
            addCriterion("SegmentName is null");
            return (Criteria) this;
        }

        public Criteria andSegmentnameIsNotNull() {
            addCriterion("SegmentName is not null");
            return (Criteria) this;
        }

        public Criteria andSegmentnameEqualTo(String value) {
            addCriterion("SegmentName =", value, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameNotEqualTo(String value) {
            addCriterion("SegmentName <>", value, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameGreaterThan(String value) {
            addCriterion("SegmentName >", value, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameGreaterThanOrEqualTo(String value) {
            addCriterion("SegmentName >=", value, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameLessThan(String value) {
            addCriterion("SegmentName <", value, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameLessThanOrEqualTo(String value) {
            addCriterion("SegmentName <=", value, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameLike(String value) {
            addCriterion("SegmentName like", value, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameNotLike(String value) {
            addCriterion("SegmentName not like", value, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameIn(List<String> values) {
            addCriterion("SegmentName in", values, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameNotIn(List<String> values) {
            addCriterion("SegmentName not in", values, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameBetween(String value1, String value2) {
            addCriterion("SegmentName between", value1, value2, "segmentname");
            return (Criteria) this;
        }

        public Criteria andSegmentnameNotBetween(String value1, String value2) {
            addCriterion("SegmentName not between", value1, value2, "segmentname");
            return (Criteria) this;
        }

        public Criteria andReserve1IsNull() {
            addCriterion("reserve1 is null");
            return (Criteria) this;
        }

        public Criteria andReserve1IsNotNull() {
            addCriterion("reserve1 is not null");
            return (Criteria) this;
        }

        public Criteria andReserve1EqualTo(String value) {
            addCriterion("reserve1 =", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotEqualTo(String value) {
            addCriterion("reserve1 <>", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1GreaterThan(String value) {
            addCriterion("reserve1 >", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1GreaterThanOrEqualTo(String value) {
            addCriterion("reserve1 >=", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1LessThan(String value) {
            addCriterion("reserve1 <", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1LessThanOrEqualTo(String value) {
            addCriterion("reserve1 <=", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1Like(String value) {
            addCriterion("reserve1 like", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotLike(String value) {
            addCriterion("reserve1 not like", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1In(List<String> values) {
            addCriterion("reserve1 in", values, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotIn(List<String> values) {
            addCriterion("reserve1 not in", values, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1Between(String value1, String value2) {
            addCriterion("reserve1 between", value1, value2, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotBetween(String value1, String value2) {
            addCriterion("reserve1 not between", value1, value2, "reserve1");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}